* {
    margin: 0;
    padding: 0;
    /*标签盒子*/
    box-sizing: border-box;
}

body,
html {
    font-family: Arial, Helvetica, sans-serif;
    background: #f8f8f8;
    /*锁定背景*/
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0 auto;
}

.navigation {
    width: 200px;
    height: 50px;
    display: flex;
    margin-left: -20px;
    margin-top: 10px;
}

.navigation a {
    display: inline-block;
    margin: 0 20px;
    height: 27px;
}

.navigation img:hover {
    border-radius: 10px;
    animation: fangda 0.2s linear;
    /* background: rgba(100, 148, 237, 0.746); */
}

.navigation img {
    width: 100%;
}

@keyframes fangda {
    50% {
        transform: rotate(-5deg) scale(1.1);
    }
    75% {
        transform: rotate(5deg) scale(1.1);
    }
    100% {
        transform: rotate(0deg) scale(1);
    }
}


/* 
.navigation {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    top: 0;
    left: -50px;
    width: 220px;
    height: 50px;
} */


/* .navigation li:nth-child(1) {
    background: -webkit-linear-gradient(top, #fa5a55, #fa994d);
}

.navigation li:nth-child(2) {
    background: -webkit-linear-gradient(top, #4b90ed, #53bced);
}

.navigation li:nth-child(3) {
    background: -webkit-linear-gradient(top, #34c2a9, #6cd559);
} */


/* 
.navigation li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    list-style: none;
    border-radius: 10px;
    flex: 1;
    /* border: 1px solid black; */

*/
/* .navigation li a {
    display: inline-block;
    width: 100%;
    text-align: center;
} */

h1 {
    margin: 0.2rem;
    font-size: 1.2rem;
}

p {
    font-size: lrem;
    line-height: 1.5rem;
    /*字体变淡*/
    font-weight: 100;
    margin: 1.2rem 0;
    /*字间距*/
    letter-spacing: 0.1rem;
}

span {
    font-size: 0.8rem;
    margin: 15px 0;
}

a {
    color: #333;
    font-size: 1rem;
    text-decoration: none;
}

.container {
    /*相对定位*/
    position: relative;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    padding: 0.6rem;
    width: 50rem;
    height: 35rem;
    /*退出隐藏*/
    /* overflow: hidden; */
    max-width: 100vw;
    min-height: 70vh;
}

.form-container form {
    background: #fff;
    /*弹性布局*/
    display: flex;
    flex-direction: column;
    padding: 0 1.8rem;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.social-container {
    margin-top: 8px;
}

.social-container a {
    border: 1px solid #eee;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    height: 1.8rem;
    width: 1.8rem;
}

.social-container a:hover {
    opacity: 0.8;
}

.form-container input {
    width: 100%;
    height: 2.2rem;
    text-indent: 1rem;
    /*边框颜色*/
    border: 1px solid#ccc;
    /*把inpu上左右边框取消*/
    border-left: none;
    border-right: none;
    border-top: none;
    /*点击input边框消失*/
    outline: none;
    /* 各行信息距离 */
    margin: 0.6rem 0;
}

.form-container button:active {
    transform: scale(0.95, 0.95);
}

.zhuce {
    /*验证码*/
    padding: 0.4rem 1rem;
    background-color: #aaa;
    color: black;
    border: 1px solid #fff;
    outline: none;
    /*鼠标放上变小手(发送验证码)*/
    cursor: pointer;
    width: 7rem;
    border-radius: 8px;
    transition: all 100ms ease-in;
    margin: 0.4rem 0;
    font-size: 0.8rem;
    padding: 0.3rem 0;
}

button#linkbt {
    width: 70%;
}

button.ghost {
    background: transparent;
    border-color: #fff;
    border: 1px solid #fff;
    outline: none;
    cursor: pointer;
    width: 5rem;
    border-radius: 8px;
    transition: all 800ms ease-in;
    /*下滑*/
    margin: 0.6rem 0;
    /*登录下坠*/
    padding: 0.5rem 0;
    color: white;
    /*下坠后字体变小*/
    font-size: 0.6rem;
}

button.ghost:active {
    transform: scale(0.95, 0.95);
}

.form-container {
    /*绝对定位*/
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.5s ease-in;
}

.sing-in-container {
    left: 0;
    width: 50%;
    z-index: 2;
}

.sign-up-container {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}

.overlay {
    background: #7b7b7b;
    width: 200%;
    height: 100%;
    position: relative;
    left: -100%;
    transition: all 0.6s ease-in-out;
    color: white;
}

.overlay-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: all 0.6s ease-in-out;
    z-index: 99;
}

.overlay-pannel {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 100%;
    padding: 0 2.2rem;
}

.overlay-right {
    /*绝对定位*/
    right: 0;
}

.container.right-panel-active .overlay-container {
    transform: translateX(-100%);
}

.container.right-panel-active .sing-in-container {
    transform: translateX(100%);
}

.container.right-panel-active .sign-up-container {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    transition: all 0.6s ease-in-out;
}

.container.right-panel-active .overlay {
    transform: translateX(50%);
}

.container.right-panel-active .overlay-left {
    transform: translateX(0%);
    /*速度*/
    transition: all 0.6s ease-in-out;
}

.container.right-panel-active .overlay-right {
    transform: translate(20%);
    transition: all 0.6s ease-in-out;
}

.yzm {
    color: rgb(102, 124, 124);
    font-size: 40px;
}